package com.example.capsule_kafka.service;


import com.example.capsule_kafka.bean.RoomBean;
import com.example.capsule_kafka.mapper.RoomMapper;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: zhuzhiming
 * @Date: 2022/5/2 0:19
 */
@Service
public class RoomService {

    @Resource
    RoomMapper roomBeanMapper;

    public List<RoomBean> getRoomListByField(String field) {
        return roomBeanMapper.getRoomListByField(field);
    }
}
